package edu.mercer.sse.plainpdf;

import edu.mercer.sse.error.ReturnCodeException;

/**
 * TIFF image.<p> 
 * 
 * Document conversion from PDF into [multiple-page] TIFF.<p>
 *  
 * Demonstration of Wrapper Facade pattern.<p>
 *  
 * @see FileInformation
 */

public interface TIFFConversion
{
	/**
	 * Convert PDF file into TIFF file.<p>
	 * 
	 * Wrapper for underlying utility; i.e., Ghostscript.<p>
	 * 
	 * @param pdfFile - FileInformation containing file attributes including 
	 * 	mime type
	 * 
	 * @return  this
	 * 
	 * @throws ReturnCodeException - underlying utility execution exceeded
	 * 	range of min, max return code in configuration
	 * 
	 * @see FileInformation
	 * 
	 * @see UtilityWrapping
	 */
	
	TIFFConversion toTIFF( final FileInformation pdfFile ) 
			
		throws ReturnCodeException;
	

}//interface
